package Chart;

public class BarChartFactory implements ChartFactory{
    public Chart createChart(){
        System.out.println("创建柱状图");
        Chart chart=new BarChart();
        return chart;
    }
}
